home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / System / AsyncioPPC / asyncioppc.readme next >
Text File  |  2000-05-11  |  3KB  |  117 lines

  1. Short:    asyncio.library with WarpOS functions (V40.1)
  2. Uploader: achimste@gmx.de (Achim Stegemann)
  3. Author:   achimste@gmx.de (Achim Stegemann)
  4. Type:     util/libs
  5. Version:  40.1
  6.  
  7.  
  8. What was wrong in the last version ?
  9. In some strange cases, e.g. accessing very long files, it could happen
  10. that  calling task went into lock-up while "Wait"ing for DOS.
  11. This has been fixes. Long files make no problems now.
  12. See PPC source code - function AS_WaitPacket.
  13.  
  14.  
  15. Notice:
  16. This archive is EMAIL-WARE !!
  17. ..what da hell is dis ??
  18. Simple... if you use it, simply send me a mail, so I know that
  19. someone is using it !!
  20. There is no copyright on it.
  21.  
  22. Requires:
  23. * MC68020 or PPC-board with WarpOS V4 (powerpc.library 15.0 or better)
  24.  
  25. Introduction:
  26. Many developer among you have used the asyncio.library, even me !
  27. The latest verion of that one was V39.2. It is know some years old but
  28. still good for plain M68K Amigas.
  29.  
  30. I decided to continue developing the library for support of PPC-WOS.
  31. I bumped the lib-version to V40.
  32.  
  33.  
  34. Advantage of this enhanced asyncio.library:
  35.  
  36. *  You dont need a PPC to use this library. You can still access all
  37.    V39 functions from a plain 68k-Amiga.
  38.  
  39. The library is split in two parts:
  40. 1. The original V39-M68k functions ! I.e V40 is (of course)
  41.    100% compatible to V39 !
  42. 2. The V40 part contains all V39 functions but converted to WarpOS.
  43.    The functions have simply a "PPC" added to the name, e.g
  44.    OpenAsync (M68K) goes OpenAsyncPPC.
  45.  
  46.  
  47. Contents of the archive:
  48. The archive contains the FULL SOURCE code for StormC 3.0.
  49. You can use as a tutorial or whatever.
  50. I simply have taken the source from original V39 source and
  51. made the WOS port. That's all.
  52.  
  53. Also provided are include files for StormC !
  54.  
  55.  
  56. Developer information.. How to use it ?
  57.  
  58. The big advantage of asyncio_ppc is, that you can access a file from
  59. both CPU sides !!
  60. Example:
  61. * Open a file in 68k mode
  62. * Read datas in PPC mode
  63. * Close the file in 68k mode
  64. or whatever you like !!
  65.  
  66.  
  67. Usage of functions:
  68. It is important, that you must only use the M68k (V39) functions from
  69. the 68k side and you must only use the PPC-funtions (V40) from the PPC side.
  70. Example:
  71. M68k: file=OpenAsync("test",MODE_READ,8192);
  72. PPC:  ReadAsyncPPC(file,buf,1000);
  73. M68k: ReadAsync(file,buf,1000);
  74. M68k: CloseAsync(file);
  75. This one would be wrong:
  76. PPC:  WriteAsync(file,buf,len);
  77. or
  78. M68K: CloseAsyncPPC(file);
  79.  
  80. Understood ? Simple...
  81. SO don't mix up the functions !!
  82.  
  83. Note: It is important that you use several kBytes of buffer space, to avoid
  84. CPU switches ! The larger the buffer, the less switches !!
  85. I recommend using buffer between 16 kB and 64 kB.
  86. Larger buffers usually dont enhance speed anymore.
  87.  
  88.  
  89. Benchmark:
  90. In the source you can find a little "Test" program (CLI) for benchmark.
  91. Start "Test.wos" for WarpOS async and
  92. Start "Test.68k" for old function set.
  93. It will write a little file as "DH1:Test". Use Sushi to see
  94. the time.
  95. On my Amiga (604e/200 and 060/50) it shows 0.32 sec for the 68k and
  96. 0.17 sec for the PPC side.
  97. The difference is remarkable !!
  98.  
  99. Using asyncio V40 will give you no improvement, if you only use the
  100. V39 functions !!
  101.  
  102.  
  103. Tests:
  104. The asyncio.library has been successfully tested with the
  105. following programs:
  106. * Digital Almanac II
  107. * AmigaAMP
  108. * CyberQT
  109. * CyberAVI
  110.  
  111. Enhance your application NOW !!
  112. Feel free to use asyncio V40 as you like !!
  113.  
  114.  
  115. Internet: http://www.rzuser.uni-heidelberg.de/~astegema
  116.  
  117.